-- GENERATED SPELL FOR [Ranger Jaela] --


function spell0_15416(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(20811,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15416', 3000, 1)
end

function Sorts_15416(pUnit, Event)
local choix_sorts_15416 = math.random(0, 0)
if choix_sorts_15416 == 0 then
pUnit:RegisterEvent('spell0_15416', 1, 1)
end
end

function mob15416_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15416', math.random(1500, 3000), 1)
end

function mob15416_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15416_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15416_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15416, 1, 'mob15416_Action')
RegisterUnitEvent(15416, 2, 'mob15416_Leave')
RegisterUnitEvent(15416, 3, 'mob15416_Kill')
RegisterUnitEvent(15416, 4, 'mob15416_Die')
